package com.aspose.cells;

public class Top10 {
   private boolean a = false;
   private boolean b = false;
   private int c = 10;

   void a(Top10 var1) {
      this.a = var1.a;
      this.b = var1.b;
      this.c = var1.c;
   }

   public boolean isPercent() {
      return this.a;
   }

   public void setPercent(boolean value) {
      this.a = value;
   }

   public boolean isBottom() {
      return this.b;
   }

   public void setBottom(boolean value) {
      this.b = value;
   }

   public int getRank() {
      return this.c;
   }

   public void setRank(int value) {
      if (this.a) {
         if (value < 0 || value > 100) {
            return;
         }
      } else if (value <= 0 || value > 1000) {
         return;
      }

      this.c = value;
   }
}
